package com.shaozi.nc.execpool;


import com.shaozi.lib.execpool.TaskRunnable;
import com.shaozi.lib.execpool.base.ExecutorDataBean;
import com.shaozi.nc.io.mq.MakeSecretaryReadProducer;
import com.shaozi.nc.manage.secretary.SecretaryManage;
import com.shaozi.utils.common.BeanUtils;

public class MakeSecretaryReadMQRunnable extends BaseMakeSecretaryReadMQRunnable implements TaskRunnable {

	public MakeSecretaryReadMQRunnable() {

	}

	@Override
	public void run(ExecutorDataBean bean) {
		MakeSecretaryReadProducer makeSecretaryReadProducer = (MakeSecretaryReadProducer) BeanUtils
				.getBean("makeSecretaryReadProducer");
		SecretaryManage secretaryMgr = (SecretaryManage) BeanUtils.getBean("secretaryMgr");
		run(bean, makeSecretaryReadProducer, secretaryMgr);
	}

}
